package security;

import org.springframework.security.core.GrantedAuthority;

public class MyGrantedAuthorityImpl implements GrantedAuthority {

	/**
	 * 
	 */
	private static final long serialVersionUID = 7354556983569287282L;

	String authority;

	public MyGrantedAuthorityImpl(String authority) {
		this.authority = authority;
	}

	@Override
	public String getAuthority() {

		return authority;
	}

}
